* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: #666;
}

i,
em {
    font-style: normal;
}

img {
    /* 清除图片底部空白缝隙 */
    vertical-align: middle;
}

li {
    list-style: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


body {
    width: 100%;
    margin: 0 auto;
    max-width: 640px;
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    font-size: 14px;
    color: #666;
    background-color: #f6f6f6;
}

.app {
    width: 100%;
    height: 45px;
    background-color: #333;
}

.app>div {
    float: left;
    height: 100%;
    text-align: center;
    line-height: 45px;
    color: #fff;
}

.app>div>a {
    color: #fff;
}

.close {
    width: 8%;
}

.close>a>img {
    width: 10px;
    height: 10px;
}

.logo {
    width: 10%;
}

.logo>img {
    width: 37.5px;
    height: 37.5px;
    /* 图片默认和文字基线对齐，也就是baseline*/
    vertical-align: middle;
    margin-top: -4px;
}

.content {
    width: 57%;
}

.content>h4 {
    font-weight: 400;
}

.open {
    width: 25%;
    background-color: #ff4514;
}

/* 搜索 */
.search_wrap {
    position: fixed;
    overflow: hidden;
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    height: 44px;
    line-height: 44px;
}

.search_btn,
.login {
    position: absolute;
    top: 0;
    width: 40px;
    height: 44px;
}

.search_btn {
    left: 0;
    background: url(../images/s-btn.png) no-repeat center;
    background-size: 20px 18px;
}

.search {
    position: relative;
    overflow: hidden;
    height: 30px;
    background-color: #fff;
    margin: 7px 50px 0px;
    border-radius: 15px;
}

.jd {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    width: 18px;
    height: 15px;
    background: url(../images/jd.png) no-repeat center;
    background-size: 18px 15px;
    z-index: 1;
}

.jd::after {
    content: '';
    display: block;
    width: 1px;
    height: 15px;
    background-color: #ccc;
    margin: 0px 30px;
}

.tubiao {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
    width: 18px;
    height: 14px;
    background: url(../images/jd-sprites.png) no-repeat -82px 0px;
    background-size: 198.5px auto;
    z-index: 1;
}

input[type=search] {
    position: absolute;
    top: 0;
    left: 75px;
    width: 100%;
    height: 100%;
    appearance: none;
    border: none;
    outline: none;
    border-radius: 0 15px 15px 0;
}

.login {
    right: 0;
    color: #fff;
}

/* 主体部分 */
.main-content {
    width: 100%;
}

/* 滑动图部分 */
.slider img {
    width: 100%;
}

/* 品牌日部分 */
.brand {
    /* 切除圆角溢出图片 */
    overflow: hidden;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.brand div {
    float: left;
    width: 33.33%;
}

.brand div img {
    width: 100%;
}

/* 导航栏部分 */
.nav {
    width: 100%;
}

.nav ul {
    width: 100%;
}

.nav ul li {
    float: left;
    width: 20%;
}

.nav ul li a {
    display: block;
    width: 100%;
    margin: 10px 0;
    text-align: center;
}

.nav ul li a img {
    width: 40px;
    margin-bottom: 5px;
}

.nav ul li a span {
    display: block;
}

/* 新闻模块 */
.news {
    width: 100%;
}

.news a {
    float: left;
    box-sizing: border-box;
}

.news a:nth-child(1) {
    width: 50%;
}

.news a:nth-child(2),
.news a:nth-child(3) {
    width: 25%;
    border-left: 1px solid #ccc;
}

.news a img {
    width: 100%;
}

/* 秒杀模块 */
.sk {
    margin: 10px 10px 0;
    padding: 10px 10px;
    border-radius: 15px 15px 15px 15px;
    background-color: #fff;
}

.sk-top {
    width: 100%;
    margin-bottom: 10px;
}

.sk-top a {
    float: left;
}


.sk-top a:nth-child(1) h4 {
    display: inline-block;
    font-weight: 400;
    font-size: 16px;
    color: #000;
}

.sk-top a:nth-child(1) s {
    padding: 0px 5px;
    text-decoration: none;
    color: #ff2727;
    font-size: 16px;
}

.sk-top a:nth-child(1) s img {
    width: 20px;
}

.sk-top a:nth-child(1) span i,
.sk-top a:nth-child(1) span em {
    font-style: normal;
}

.sk-top a:nth-child(1) span i {
    background-color: #ff2727;
    color: #fff;
    border-radius: 5px;
    padding: 0 2px;
}

.sk-top a:nth-child(1) span em {
    margin: 0 2px;
    color: #ff2727;
}

.sk-top a:nth-child(2) {
    float: right;
    margin-right: 10px;
    font-size: 14px;
    color: #ff2727;
}

.sk-top a:nth-child(2)::after {
    display: inline-block;
    content: '>';
    width: 15px;
    height: 15px;
    color: #fff;
    background-color: #ff2727;
    border-radius: 50% 50%;
    text-align: center;
    line-height: 1;
    margin-left: 3px;
}

/* 秒杀主体商品部分 */
.sk-product>a {
    float: left;
    width: 16.66%;
    text-align: center;
    font-family: JDZhengHT-EN-Regular;
    font-size: 12px;
}

.sk-product>a>img {
    width: 100%;
}

.sk-product>a .sk-price-new {
    font-weight: 700;
    color: #f2270c;
}

.sk-product>a .sk-price-before {
    color: #999999;
    text-decoration: line-through;
}

/* 秒杀副模块 */
.sk-fu {
    padding: 10px 10px;
}

.sk-fu>a {
    position: relative;
    float: left;
    width: 25%;
    padding: 0px 1px;
    box-sizing: border-box;
}

.sk-fu>a img {
    width: 100%;
}

.sk-fu>a span {
    position: absolute;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
    width: 74%;
    text-align: center;
}

.sk-fu>a span img {
    width: 100%;
    border-radius: 10px 10px 10px 10px;
    border: 1px solid #ededed;
}

.sk-fu>a .biaoti {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 5px;
    text-align: center;
    line-height: 1.2;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 生活家居等分类模块 */
.kind {
    margin: 0 10px;
    padding: 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background-color: #fff;
}

.kind>ul {
    width: 100%;
    height: 100%;
}

.kind>ul li {
    float: left;
    box-sizing: border-box;
    width: 50%;
    padding: 0 25px 0 0;
}


.kind>ul li div {
    width: 100%;
}

.kind>ul li div h4 {
    font-size: 16px;
    color: #000;
}

.kind>ul li div p {
    font-size: 12px;
}

.qinzi div a {
    float: left;
    width: 50%;
    box-sizing: border-box;
    padding: 4px 0 0 13px;
}

.qinzi div a img {
    width: 100%;
}

.kind>ul li:nth-child(3) {
    width: 100%;
    padding: 20px 0 0 0;
}

.kind>ul li:nth-child(3)>div {
    float: left;
    width: 25%;
    box-sizing: border-box;
    padding-left: 10px;
}

.kind>ul li:nth-child(3)>div:first-child {
    padding-left: 0;
}

.kind>ul li:nth-child(3)>div>div a {
    display: block;
    padding: 8px 10px 0 0;
}

.kind>ul li:nth-child(3)>div>div a img {
    width: 100%;
}